package com.czp.infosharingplatformapp.service;

import com.czp.infosharingplatformapp.model.Message;

import java.util.List;

public interface MessageService {
    Message createMessage(String content, Long userId, Long parentId);
    List<Message> getAllMessages();
    void deleteMessage(Long messageId);
    List<Message> getMessagesByUserId(Long userId);
    List<Message> getUnreadMessagesByUserId(Long userId);
}